package com.ssm.xm.pojo;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
public class User {
    private int id;
    private String name;
    private String username;
    private String password;
    private String avatar;
    private int sf;

    public User() {
    }

    public User(int id, String name, String username, String password, String avatar, int sf) {
        this.id = id;
        this.name = name;
        this.username = username;
        this.password = password;
        this.avatar = avatar;
        this.sf = sf;
    }
}